﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 管道.Pipeline管道基类
{
    public interface IPipelineHandler
    {

        /// <summary>
        /// 过滤路径规则
        /// </summary>
        bool Filter(PipelineeContextModel context);

        /// <summary>
        /// 处理
        /// </summary>
        /// <param name="context">消息内容</param>
        void Handler(PipelineeContextModel context);

    }
}
